home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / mardek_rpg.swf / scripts / frame_77 / DoAction.as
Encoding:
Text File  |  2011-09-19  |  8.5 KB  |  145 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 456 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = -2124 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 156)
  9.    {
  10.       set("\x01",eval("\x01") + 803);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else if(eval("\x01") == 434)
  14.    {
  15.       set("\x01",eval("\x01") + 232);
  16.    }
  17.    else
  18.    {
  19.       if(eval("\x01") == 629)
  20.       {
  21.          set("\x01",eval("\x01") - 125);
  22.          map = [[2,2,2,2,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2],[2,2,3,10,1,1,1,1,1,1,41,1,1,1,7,3,2,2,2,2],[2,6,1,41,0,0,0,0,0,0,0,0,0,0,1,1,7,3,2,2],[2,10,11,0,0,8,5,5,5,5,5,5,9,0,0,0,1,1,4,2],[6,1,0,0,8,2,2,2,2,2,2,2,6,0,0,11,0,0,7,2],[6,0,0,0,4,2,2,2,2,2,2,2,6,0,0,0,0,0,41,4],[2,5,5,5,2,2,2,2,2,2,2,2,10,0,0,0,0,0,0,4],[2,2,2,2,2,2,2,2,2,2,2,6,1,12,8,5,9,0,0,4],[2,2,2,2,2,2,2,3,3,3,3,10,0,0,4,2,6,0,0,4],[2,2,2,2,3,3,10,1,1,1,41,1,12,8,2,2,6,0,0,4],[2,2,2,10,1,41,1,32,33,11,0,0,0,4,2,2,2,9,0,4],[2,2,6,1,32,37,37,13,38,0,0,0,8,2,2,2,2,6,0,4],[2,2,6,32,13,39,39,39,34,0,0,0,7,2,2,2,2,6,0,4],[2,2,6,35,34,0,0,0,0,0,0,0,1,4,2,2,2,6,11,4],[2,2,6,11,0,0,0,0,0,0,0,0,22,4,2,2,2,2,5,2],[2,2,6,0,0,0,0,17,0,0,0,0,0,4,2,2,2,2,2,2],[2,2,6,0,0,0,0,0,0,0,0,0,11,4,2,2,2,2,2,2],[2,2,6,0,0,0,0,0,0,0,0,0,8,2,2,2,2,2,2,2],[2,2,2,5,9,0,0,0,0,0,8,5,2,2,2,2,2,2,2,2],[2,2,2,2,2,5,5,18,5,5,2,2,2,2,2,2,2,2,2,2]];
  23.          tileset = "t_cave2";
  24.          area = "cn_cave";
  25.          areaname = "Canonia - Zombieproof Cave";
  26.          ambience = null;
  27.          A_sprites = [{name:"EXIT",model:"DOOR8",x:7,y:19,dest:["canonia",29,3]}];
  28.          if(_root.plotVars.ZOMBIES == "CANONIA")
  29.          {
  30.             A_sprites = A_sprites.concat([{name:"Shaman",model:"s_shaman",x:7,y:15,walkspeed:-2,dir:"s",EN:["People","Goznor Shaman"],elem:"EARTH",conv:"c_shaman"},{name:"Soldier",model:"s_soldier",x:8,y:18,walkspeed:-1,dir:"w",elem:"EARTH",conv:[["grin","Come right in, non-zombies! You can take refuge in this here Zombieproof Cave that Canonia just happens to have! Don\'t you think it\'s useful and coincidental that this place exists!?"]]},{name:"Brother Beardbert",model:"s_man2",x:14,y:4,walkspeed:-1,dir:"e",elem:"AIR",conv:[["shok","Those zombies are really annoying! They\'re stopping me from being outside and breathing in the chilly, scented night air! Now how will I get my fix?!"]]},{name:"Brother Beardbert",model:"s_man2",x:15,y:3,walkspeed:-1,dir:"s",elem:"FIRE",conv:[["angr","Those zombies are really annoying! They\'re preventing me from punching trees in the night! Now people won\'t be able to get up in the morning, see the trees, and wonder who punched them! So this is really inconveniencing us all! I should report it to the mayor! If only Canonia HAD one!"]]},{name:"Brother Beardbert",model:"s_man2",x:16,y:4,walkspeed:-1,dir:"w",elem:"WATER",conv:[["blah","Those zombies are really annoying. They\'re offensive to all my senses. Even taste. And believe me, I know. Mainly because I licked one of them for a laugh. It wasn\'t as amusing as I thought it might be. I probably caught something. Like a disease. Maybe I\'ll die."]]},{name:"Fredley",model:"s_common",x:3,y:4,walkspeed:40,dir:"s",elem:"AIR",conv:[["shok","I would never have guessed that this would happen!!"]]},{name:"Woman",model:"s_woman",x:10,y:11,walkspeed:40,dir:RDir(),elem:"FIRE",conv:[["grin","Pseudolonewolf really does like Firequill, you know! So, so much! More than anything! How *romantic*!"]]},{name:"Adventurer",model:"s_woman4",x:4,y:17,walkspeed:40,dir:RDir(),elem:"AIR",conv:[["angr","I could be out there fighting those zombies, but I\'m not because I tried and they kept GROPING me! Even in death, men are perverted wretches who never respect us women as people! You\'re still looking at my chest!"]]},{name:"Middle-aged Woman",model:"s_woman2",x:5,y:13,walkspeed:-2,dir:"e",elem:"EARTH",conv:[["susp","The zombies out there came from Goznor, or something? Or did they used to be villagers from here who were zombified? Or were they just SPAWNED out of nowhere, magically? None of those things really make much sense!"]]},{name:"Middle-aged Man",model:"s_man1",x:6,y:13,walkspeed:-2,dir:"w",elem:"EARTH",conv:[["blah","I think the village is meant to be covered in black smoke, but *I* don\'t see any except on the world map! Psht!"]]}]);
  31.          }
  32.          else
  33.          {
  34.             A_sprites.push({name:"Man",model:"s_man1",x:9,y:14,walkspeed:20,dir:"e",elem:"AIR",conv:[["grin","We sure are lucky to have this Zombieproof cave! I bet it\'d be really useful if ever the town were attacked by zombies, which would be a rather unexpected thing to happen, really!"]]});
  35.          }
  36.          areaLoot = [{x:1,y:5,amount:10,item:"HolyWater"}];
  37.          foes = [];
  38.          btlChance = 0;
  39.          minSteps = 5;
  40.          levelrange = [1,1];
  41.          musicTrack = plotVars.ZOMBIES != "CANONIA" ? "Canonia" : "EvilStirs";
  42.          clearmap = 1;
  43.          AreaSetup();
  44.          break;
  45.       }
  46.       if(eval("\x01") == 751)
  47.       {
  48.          set("\x01",eval("\x01") - 122);
  49.       }
  50.       else
  51.       {
  52.          if(eval("\x01") == 504)
  53.          {
  54.             set("\x01",eval("\x01") - 504);
  55.             break;
  56.          }
  57.          if(eval("\x01") == 461)
  58.          {
  59.             set("\x01",eval("\x01") + 205);
  60.          }
  61.          else if(eval("\x01") == 953)
  62.          {
  63.             set("\x01",eval("\x01") - 121);
  64.             var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  65.             {
  66.                return 456 % 511 * 5;
  67.             };
  68.          }
  69.          else if(eval("\x01") == 959)
  70.          {
  71.             set("\x01",eval("\x01") - 775);
  72.             if(function ┬º\x01\x02┬º()
  73.             {
  74.                return 456 % 511 * 5;
  75.             })
  76.             {
  77.                set("\x01",eval("\x01") + 277);
  78.             }
  79.          }
  80.          else
  81.          {
  82.             if(eval("\x01") == 184)
  83.             {
  84.                set("\x01",eval("\x01") + 277);
  85.                set(┬º┬ºpop(),[{(┬º┬ºpop()):┬º┬ºpop(),(┬º┬ºpop()):┬º┬ºpop(),(┬º┬ºpop()):┬º┬ºpop(),(┬º┬ºpop()):┬º┬ºpop(),(┬º┬ºpop()):┬º┬ºpop(),(┬º┬ºpop()):[function ┬º\x01\x02┬º()
  86.                {
  87.                   return 456 % 511 * 5;
  88.                }]},┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop()]);
  89.                s_man2 = [];
  90.                WATER = [];
  91.                set("Those zombies are really annoying. They\'re offensive to all my senses. Even taste. And believe me, I know. Mainly because I licked one of them for a laugh. It wasn\'t as amusing as I thought it might be. I probably caught something. Like a disease. Maybe I\'ll die.",0);
  92.                set("Those zombies are really annoying! They\'re preventing me from punching trees in the night! Now people won\'t be able to get up in the morning, see the trees, and wonder who punched them! So this is really inconveniencing us all! I should report it to the mayor! If only Canonia HAD one!",5);
  93.                set("Those zombies are really annoying! They\'re stopping me from being outside and breathing in the chilly, scented night air! Now how will I get my fix?!",[1,1]);
  94.                Soldier = "s_soldier";
  95.                set("Come right in, non-zombies! You can take refuge in this here Zombieproof Cave that Canonia just happens to have! Don\'t you think it\'s useful and coincidental that this place exists!?",1);
  96.                Shaman();
  97.                break;
  98.             }
  99.             if(eval("\x01") == 666)
  100.             {
  101.                set("\x01",eval("\x01") + 287);
  102.                ┬º┬ºpush("\x0f");
  103.                ┬º┬ºpush(1);
  104.             }
  105.             else if(eval("\x01") == 417)
  106.             {
  107.                set("\x01",eval("\x01") - 227);
  108.                ┬º┬ºpush(!function ┬º\x01\x02┬º()
  109.                {
  110.                   return 456 % 511 * 5;
  111.                });
  112.             }
  113.             else if(eval("\x01") == 832)
  114.             {
  115.                set("\x01",eval("\x01") - 232);
  116.                ┬º┬ºpush("\x0f");
  117.             }
  118.             else if(eval("\x01") == 600)
  119.             {
  120.                set("\x01",eval("\x01") - 183);
  121.                ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  122.                {
  123.                   return 456 % 511 * 5;
  124.                }));
  125.             }
  126.             else
  127.             {
  128.                if(eval("\x01") != 190)
  129.                {
  130.                   break;
  131.                }
  132.                set("\x01",eval("\x01") + 561);
  133.                if(function ┬º\x01\x02┬º()
  134.                {
  135.                   return 456 % 511 * 5;
  136.                })
  137.                {
  138.                   set("\x01",eval("\x01") - 122);
  139.                }
  140.             }
  141.          }
  142.       }
  143.    }
  144. }
  145.